STEP 8: Let's make our second skyscraper!

  • Go to GRAPHICS, click on , and place Rectangle at the bottom of your program.
  • Change the x-coordinate argument from 0 to x and the y-coordinate argument from 0 to y.
  • Change the height argument from 50 to height.
  • Run your code more than once. Now you have two random skyscrapers!

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)